home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / prog / pbc22b.zip / PBC$BAS.ZIP / REVD.BAS < prev    next >
BASIC Source File  |  1993-01-01  |  544b  |  12 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1993  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7. SUB ReverseD (Array() AS DOUBLE, Elements%)
  8.    FOR tmp% = 1 TO Elements% \ 2
  9.       SWAP Array(tmp%), Array(Elements% - (tmp% - 1))
  10.    NEXT
  11. END SUB
  12.